import redis.clients.jedis.*
import com.alibaba.moco.*
import groovy.json.*

def excute(req){

	Jedis redis = RedisPoolInstance.getRedisClient();
	
    def map = [:];
    map.put("id","1001");
	map.put("orderId",req.getParameter("orderId"));
	
	redis.set(map.get("orderId"),JsonOutput.toJson(map).toString());
	
    return map;
}